#ifndef __BSP_MOTOR_H
#define __BSP_MOTOR_H


#include "main.h"
#include "tim.h"
#include "gpio.h"

#define PWM_MAX_PERIOD_COUNT              1000     

void bsp_pwm_start(void);
void left_motor_run(int pwm);
void right_motor_run(int pwm);
void motor_disable(void);

void MotorOutput(int nMotorPwm,int nMotor2Pwm);
#endif

